//
//  ViewController.m
//  Model
//
//  Created by ChuXiang on 15/11/10.
//  Copyright © 2015年 ChuXiang. All rights reserved.
//

#import "ViewController.h"
#import "FristModel.h"
@interface ViewController ()
@property (nonatomic, retain)FristModel *frist;
@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    NSDictionary *dic = [[NSDictionary alloc] initWithContentsOfFile:@"/Users/YTR/Desktop/UI11_HomeWork/UI11_HomeWork/SDWebImage/YiChe.plist"];
//    NSLog(@"%@", dic);
    _frist = [[FristModel alloc] initWithData:dic];
//    NSLog(@"%@", firt.status);
//    NSLog(@"%@", firt.secondmodel.dataSource[0]) ;
    ThrithModel *thrith = self.frist.secondmodel.dataSource[1];
    NSLog(@"%@", thrith.picCover);
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
